<?php
/**
*所有的市场数据
*/

$redis = new Redis();
  //连接服务器
  $redis->connect("localhost");
  //授权
  $redis->auth("redis=pwd@2016");



$data=$redis->hmget('National_MarketDirector', array(
'allnow',
'allday',
'yesdallday',
'onejk',
'twojk',
'threejk',
'fourjk',
'fivejk',
'sixjk',
'sevenjk',
'firstjk',
'secondjk',
'thirdjk',
'fourthjk',
'firstmonthjk',
'secondmonthjk',
'thirdmonthjk',
'fourthmonthjk',
'visittwo',
'visitthree',
'visitmore',
'vthree',
'vmore',
'vtwo',
'vone'));


$allnow=$data['allnow'];
$allday=$data['allday'];
$yesdallday=$data['yesdallday'];
$onejk=$data['onejk'];
$twojk=$data['twojk'];
$threejk=$data['threejk'];
$fourjk=$data['fourjk'];
$fivejk=$data['fivejk'];
$sixjk=$data['sixjk'];
$sevenjk=$data['sevenjk'];
$firstjk=$data['firstjk'];
$secondjk=$data['secondjk'];
$thirdjk=$data['thirdjk'];
$fourthjk=$data['fourthjk'];
$firstmonthjk=$data['firstmonthjk'];
$secondmonthjk=$data['secondmonthjk'];
$thirdmonthjk=$data['thirdmonthjk'];
$fourthmonthjk=$data['fourthmonthjk'];
$visittwo=$data['visittwo'];
$visitthree=$data['visitthree'];
$visitmore=$data['visitmore'];
$vthree=$data['vthree'];
$vmore=$data['vmore'];
$vtwo=$data['vtwo'];
$vone=$data['vone'];
// print_r($data);


require('./view/iwocar5/National_MarketDirector.html');

 ?>
